import request from '@/utils/request'
import { renderUrl } from '../utils'

const headers = {
  'Content-Type': 'application/json'
}

// 获取信息
export function getVersionList(data) {
  return request({
    url: '/admin/appVersion/get',
    method: 'POST',
    data: JSON.stringify(data),
    headers
  })
}
// 更新信息
export function editVersion(data) {
  return request({
    url: '/admin/appVersion/add',
    method: 'POST',
    data: JSON.stringify(data),
    headers
  })
}
